@prefix-cls: ~'@{namespace}-basic-table';

// fix table unnecessary scrollbar
.@{prefix-cls} {
  .hide-scrollbar-y {
    .ant-spin-nested-loading {
      .ant-spin-container {
        .ant-table {
          .ant-table-content {
            .ant-table-scroll {
              .ant-table-hide-scrollbar {
                overflow-y: auto !important;
              }

              .ant-table-body {
                overflow-y: auto !important;
              }
            }

            .ant-table-fixed-right {
              .ant-table-body-outer {
                .ant-table-body-inner {
                  overflow-y: auto !important;
                }
              }
            }

            .ant-table-fixed-left {
              .ant-table-body-outer {
                .ant-table-body-inner {
                  overflow-y: auto !important;
                }
              }
            }
          }
        }
      }
    }
  }

  .hide-scrollbar-x {
    .ant-spin-nested-loading {
      .ant-spin-container {
        .ant-table {
          .ant-table-content {
            .ant-table-scroll {
              .ant-table-hide-scrollbar {
                //overflow-x: auto !important;
              }

              .ant-table-body {
                overflow: auto !important;
              }
            }

            .ant-table-fixed-right {
              .ant-table-body-outer {
                .ant-table-body-inner {
                  overflow-x: auto !important;
                }
              }
            }

            .ant-table-fixed-left {
              .ant-table-body-outer {
                .ant-table-body-inner {
                  overflow-x: auto !important;
                }
              }
            }
          }
        }
      }
    }
  }


  &.page-search-table {
    padding: 0;
    background-color: white;

    .ant-form-default{
      .ant-form-item-label {
        text-align: left;
        padding-left: 10px;
      }
    }
  }

  .ant-table-wrapper {
    div.ant-table-title {
      background-color: #f7f9fd;
      margin-bottom: 4px;
      border: 1px solid #edf0f5;
      padding: 4px 8px !important;
    }
  }
  
  .ant-form {
    margin-bottom: 0 !important;
  }

  .vben-basic-table-row__striped td{
    background-color: #f7f9fd;
  }
  
  .ant-table-thead>tr>th{
    background-color: #f7f9fd;
  }

  .ant-table-title{
    .ant-btn{
      margin-right: 8px;
    }
  }

}




